package myJs.implicits

import myJs.myPkg.EasyPieChart
import org.scalajs.dom.Element
import org.scalajs.dom.raw.HTMLFormElement
import myJs.implicits.Implicits._

import scala.scalajs.js

/**
 * Created by Administrator on 2020/1/16
 */
trait MyJDAnTool {

  implicit class MyJDAn(jd: js.Dictionary[js.Any]) {

    def myGet(key: String) = jd.getOrElse(key, "").toString

    def myGetDouble(key: String) = jd.getOrElse(key, "").toString.toDouble

  }

}
